NET MESSAGE IMAGE
This command will return an image from the current net message.
NET MESSAGE IMAGE Image Number
Image Number
Integer
The image number
This command does not return a value.
The net message must be of the image type or the command will fail. You can determine the type using the NET MESSAGE TYPE command.
rem Network game can communicate sounds, images and 3D data
while inkey$()<>"z"
cls
print "HANDLE ADVANCED NET MESSAGES (Press Z To Continue)"
print "SENDING..."
GuarenteePacket=1
get image 1, 0, 0, 64, 64
send net message image 0, 1, GuarenteePacket
delete image 1
rem Receive Part (from all other players)
get net message
if net message exists()=1 then print "RECEIVING..."
while net message exists()=1
if net message type()=5
net message image 1
endif
get net message
endwhile
endwhile
MULTIPLAYER Commands Menu
Index